package com.xxd.spring.boot.demo.lihonghai.Eeception;

public class MyException extends Exception{
    private String massage;
    private String code;
    public MyException(String message,String code){
        this.massage=message;
        this.code=code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


}
